package com.example.sens.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.example.sens.entity.*;
import com.example.sens.utils.Response;
import com.example.sens.vo.ThresholdVo;
import com.example.sens.vo.UserThresholdSaveParam;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface ThresholdService {
    Response<List<ThresholdCustom>> find(ThresholdVo thresholdVo);

    Response save(UserThresholdSaveParam param,HttpSession session) throws Exception;

    Page<List<UserQuiz>> findAll(Page page, Long userId);

    Page<List<UserDataCustom>> findAll(Page page);
}
